package cn.stylefeng.guns.modular.tool.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.tool.entity.ToolBasicStopFiring;
import cn.stylefeng.guns.modular.tool.model.params.ToolBasicStopFiringParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolBasicStopFiringResult;

/**
 * 停发地区设置 Mapper 接口
 */
public interface ToolBasicStopFiringMapper extends BaseMapper<ToolBasicStopFiring> {

    /**
     * 获取列表
     *
     * @author 
     * @Date 2022-08-05
     */
    List<ToolBasicStopFiringResult> customList(@Param("paramCondition") ToolBasicStopFiringParam paramCondition);

    /**
     * 获取map列表
     *
     * @author 
     * @Date 2022-08-05
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") ToolBasicStopFiringParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author 
     * @Date 2022-08-05
     */
    Page<ToolBasicStopFiringResult> customPageList(@Param("page") Page page, @Param("paramCondition") ToolBasicStopFiringParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author 
     * @Date 2022-08-05
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ToolBasicStopFiringParam paramCondition);

	boolean saveBatchList(@Param("list")List<ToolBasicStopFiringParam> savelist);

}
